print current state on top left of window