Larger icon added to MainWindow.windowIcon().
Exception handling implemented so that if Nimbus crashes, it will try to delete
the lock file.