Made shadowmap HUD a toggle, plus miscellaneous cleanup