Main loop skeleton, some focus stuff. Untested.
Very basic working-ish main loop
Drawing/focus debugging/improvements
Major overhaul of focus system and invalidation