fixed startup issue
fixed problem with auto-updater being unable to launch main correctly