Fix app shutdown issues

Flump.mxml is an Application rather than a (hidden) WindowedApplication.
On Windows, we set the 'autoExit' flag to true, causing the app to close
when all windows are closed; on Mac it's set to false.