Updated code base to be less icky, follows my personal design guidelines
as mentored over by jdhartley (aka beastman 3000). Added cheatcodes.