modelControl.js now has saveState/retrieveState functions.
actionsControl.js now calls saveState
moleculesControl.js now calls saveState
main.js now calls retrieveState.