#161 fixed Applying a font colour will overwrite the previous colour value
#158 removed a lot of unused imports, variables and functions, and refactored deprecated code.