minor code updates
moved state data from js objects into sessionstorage