handle missing fonts slightly more gracefully
handle missing fonts slightly more gracefully (2) avoid infinite recursion
clean up imports in main.py
fix resuming in graphical mode a session started in text mode