"Note that some of the existing code in Freeseer may not be following the styleguides since we didn't always use them." 
That is the case with this whole file, I was using and modifying existing freeseer code to implement this plugin. I will clean it up as I go along and bring it in conformance with the current style standards.