we now make room for local variables on the stack
also lots of bugfixes