Add isInitialized() method and 'initialize' event to gui.app.Application, as well as fix an issue where the Application would error when destroyed before its dynamic dependencies had loaded.