Make some cosmetic changes. No actual functionality added.
Add locking and unlocking methods to class Token; we will use these to make sure a Token that got received this turn doesn't get passed onto another Node before next turn.
Correct small mistake.
Add locking behaviour.
Test whether node is unlocked.
Remove unused methods.
Clean up unused code and add debugging stuff.