2nd fix for blinding. Beginning window buttons.

Typo error fixed.

Starting to implement buttons on the window title bar.
More window work.