Refactor startup timing a little by getting the current time the moment the application enters its main function, then passing that to Application's constructor.  Also fix the titlebar bug by setting the title bar at the end of initializeGL() instead of at the end of the first frame (which would actually further the inaccuracy of the startup time).
Merge pull request #381 from Geenz/19319

Code Review for Job #19319