bugfix: when changing drawing size, changed the last drawn line's size too
added collapsible buttons to the main window