Get rid of nodeType variable

Was used in an early version of the debugger but is not needed anymore.