smarter commits Vastly improves disk performance
added knownNodesLock
Merge pull request #107 from Atheros1/master

smarter commits Vastly improves disk performance. Also added knownNodesLock