Better windowing

Added support for multiple screens.
Minimized windows are not counted.
Icons
Style changes
Escape from callback hell

Implements a manager object to avoid callbacks and store some basic
variables.