If anything happens during initialization of the application, the error is caught and the application shutdowns properly.
Merge pull request #11 from gramk/master

If anything happens during initialization of the application, the error ...