Moved helper functions to the end of the file
Moved _getFontsto the top of the file. Extracted STANDARD_FONTS constant
Merge remote-tracking branch 'origin/master'