fix crash in updater at exit
allow updater to be run without command line (doesn't fully work yet)