fix out-of-bounds mem access (for valgrind)
Merge branch '19-fixes' into 20
fixed stack balance bug, code cleanup
Merge branch '19-fixes' into 20
fix editing error
Merge branch '19-fixes' into 20