Cleanup and some restructuring

Save the configuration before exiting so that grid choice is preserved.

Area selection! This sure was a *pain* to add.

(0) -100 -30 -10 -3 +3 +10 +30 +100 +300 +1000 tip

mercurial