(Glitch64) Misc. cleanups to glitchmain.c