The onCreate handler will now wait until either the main Application
object is constructed or the MainThread's resume_startup function is
called. This ensures that the application (or a library such as mspgui)
can connect to the signals before they are emitted.