When fixing node references, index by node so that we do not need to lookup nodes multiple times.
Fix indexing bug.
Add debug messages and remove some unused functions.
Merge branch 'dev' of github.com:flavioc/meld into flavio-dev

Conflicts:
	vm/exec.cpp
	vm/program.hpp