better node support

node sizes adjusted for object size, allows comments in node files,
expanded tests, fixed addLayer bug where smooth of zero (none) caused
an error.