toolLine fixes
implemented ToolRectangle