Added upper limit to TREE_NODE_LIMIT check
Corrected lexer such thatcommon and emulation commands do not affect the
current header path
Switched to single flag byte use for node properties