Added support for custom fonts in GUI. General cleanup