Implemented possibility to change the layout of the division tree.
Implemented possibility to add a division, improved message handling.