Update to 1.2

Includes a window listener that will automatically save the
configuration file upon clicking the close button.