Added constants for exit code
Added exit button
Added code to exit application