Added debug output support for lua repl.
Added instruction reference copying for parser (if statement).
Fixed visual studio project files.