verify that optimized program actually works
unbreak the offsetops optimization

Have to perform all arithemtic operations to cells before they're
printed. This also does that for clear and input, which is strictly
speaking not required, but whatevs. Code is getting ugly though so a
cleanup would be nice.