Implemented tools menu, borders and hovering of borders.