Started coding for handling maximized windows... restoring seems to be tricky
First basic layouting tries