more runtime progress
fix a bunch of bugs, almost working