Fixes to the toolbar and slidebar, added functionality to the exit button