Implemented a basic toolbar in the main window