various fixes, added support for changing font type and size