Fix bug where duplicate IDs can occur when loading from disk
Cleanup clientside logging