Save and restore 'background'

This is necessary to support colorschemes with both light and dark versions, such as solarized.

I tested this with the solarized scheme.  I can reproduce #6 at `HEAD`, and this PR fixes it.