- many fixes to run state updating, new state initialization