A bunch of miscellaneous improvements, and a few bug fixes

Each commit in today's batch is independent.  Some are bug fixes (notably the change to RasterImage); others are ease-of-use improvements.

I think the older commits are fairly independent too, but I don't remember.