experimenting with saving and restoring jsmol state.