fixed upvalue bug and closure bug.  add stack frame of vm.