Updated a bug in font selection and removed useles lines in some of the variable files
Minor changes and bugfixes.