first implementation of tabbed windows (WIP)
implemented -i. updated text.c. fixed a few bugs.
fixed use after free bug. some cleanup.
release keys and mouse buttons on focus loss.
redid some window messaging. various cleanups
wctl: only move/resize with different rect