changes to logic, added variable indexes in stack and locals
working copy