Add a quit button and modify layout.

Adds code to add a quit button to the application and changes the layout
to include a new HBox layout.