Code cleanup in the launcher code: final'ing the locals, removing unused code, commenting, adding null checks.
Improved logging in selfupdater (now writes to file in addition to stderr)