Standalone application hangs on completion

Not sure what is left hanging around at the end of the main/run methods, but something is stopping the application (as run via ShellMapPrinter class) from closing.

Manually calling System.exit resolves this. Not sure if we want to open a bug to track down what is still not destroyed or if we don't care.