Fixing equality checks and adding debug
Fixing issues with worker identities clashing
Adding identity debug log
Merge pull request #2 from tomgco/patch-1

Debug and heartbeat fixes