Clean up nodedef.cpp
Fix misc. style issues