state saving, back button errors, and scrollview working.
see todo for remaining problems