fix live stuff
propagate updates from earlier states to later states

use window.eval so that state vars are properly shared