fixed basic layouting rules, now it's time to think about dockeds!