Fixed coder violations and a bad drupal set message call.
Merge pull request #1 from MorganDawe/7.x.quick_fix

Fixed coder violations and a bad drupal set message call.