Framework for drawing to screen.

The main goal is to prevent Tk from infecting the rest of the application.
Only the portion above the else branch should need modification to integrate with rest of emulator