Save/load recently viewed state.

This will make it easier to do a seamless deploy.