Improve code style
Add hashCode to MetaNode

Possible bug
Fix doomed test for equality to NaN
Fix writes to static fields from instance method

Credits to FindBugs