Changed `JFrame` behavior to prevent shutdown on closing.

Rather than shutdown on close of the `JFrame`, it has been
changed to dispose the `JFrame`.

This change was made as it's not necessarily desirable to have
the entire application shutdown when the `Viewer` is closed.