MenuBar script: Fix profiler menu item to renamed show profiler funtion.
Application: Change poorly named AboutToExit() to RequestExit() and make it a non-slot, you should use fw->Exit() if you want to exit. Add IsActive() to tell if the application is active (this is the logic that we use to drop main loop FPS to half). Document public slots.
Fix two size_t vs int compile warnings.