animation working well, though need preview animation running all the time (maybe toggle to disable) and limit the playback speed to 5 Hz or less.

Saving animations needs to be added, save will just save the current frame.  Also adding a blank frame, and a mode to show the previous frame somewhat transparently.
Animated preview, and saving of all frames of animation.   TBD need loading of image sequences next (file dialog where shift-select works?)
Moved pixel changing into draw function, next add flood fill.
poor quality flood fill plus some other adjustments.
Better flood fill according to http://en.wikipedia.org/wiki/Flood_fill, though the annoying thing is that colors can't be switched without coloring the current pixel, so the current pixel can't be flooded.
Save automatically every time period, better saving when desired.  TBD need to save in subdirectory, with a different directory for automatic saves.  Need to have a flag that is set when the image is modified to determine if a new auto save is necessary.
Save to data subdir instead of source directory, not sure if it creates it if it doesn't exist already.
Show last 10 key presses on screen.
Don't show redundant animation preview images.
Don't draw redundant thumbnails.