Bugfix, refactoring

Run application even if splashscreen initialization failed.
Changed method name from buildMenu to createMenu.
Minor change in code formatting style.