Basic multi-window support. Still needs a facelift.
Fixed styles.
Merge pull request #29 from Tribex/rewrite

Partial rewrite to allow multiple windows.