AVM1 fixes

Mostly teach the interpreter that sloppy programming is the wave of the future.