Trying to make debugger variable dump be JSON friendly

Fixed label callback problem.
Fixed a crash when removing a lua method.