Fixed a few minor coding flaws that was throwing off the SensioLabs Insight score.