Implemented first elements of menu bar and exit events