Added a dialog window to display settings

A dialog window can now be displayed to change the settings of the
application. Right now, the only setting that one can change is the
Y-axis direction. Setting this option will reverse the Y-axis direction.
This option is saved permanently.