Fixes suggested by RubyMine (just playing around with it)

It actually found one potential real issue (the params.pp) one and a bunch of style related ones I'm not so considered with.  A nice tool, I am tempted to try it out alongside vim for a while.