Moved model.jsmol.instance to state.JmolObject.
Added "preferences" to sb_controller/model.js