a *slightly* prettier node implementation...

Just some minor changes to make things a little saner. I hope someone else can make this even better.