Added support for loading sysfonts to loader
Small refactoring changes