add: if (origin == NULL) origin = new BPoint(100.0, 100.0);
context: 	MidiPlayerApp(void)		: BApplication("application/x-vnd.MidiPlayer")	{	app_info info;	BFile file;	BResources resource;	size_t len;		GetAppInfo(&info);		if (file.SetTo(&(info.ref), B_READ_ONLY) != B_OK) return;		resource.SetTo(&file);		BPoint *origin = (BPoint*)resource.LoadResource('BPNT', "origin", &len);		fWindows = new MidiPlayerWindow(*origin);	}