Did a bunch of strict-mode fixes to get the moth-boss level working again.