More cleanup; deal with minimized windows; start of a real tiling layout.

Signed-off-by: Atheriel <atheriel@gmail.com>