imagej/imagej1 — pull request #7 by nathanjackson (2014-04-06 00:07:19+00:00)
Title: Added virtual machine shutdown hook to save preferences.

When ImageJ is terminated using Ctrl-C or the JVM is otherwise shutdown, ImageJ does not save its preferences. I've added a shutdown hook to handle such cases.