Code cleanups / tweaks

Mostly because 3rd-Eden and/or gjslint told me to. Mostly semicolons and spaces.