use global constants
draw a window, not a screen
first working demo