Fixing mistakes in previous commit which would make the font default to the system default. Everything works fine now.