Toolbar, buttons, events, and line tool