Improved the support for custom fonts and created the random mode feature