Refactoring to increase modularity for emulator step 2. Emulator displays fonts.