Partial state preservation and restoration impl

Changes to reveal controller and storyboard sample 2. 
Incomplete.