Added exit buttons and quit functionality to keyboard shortcuts