Small fixes.
Bugfix and cleanup in garbage collector.
Allow hash duplicate on server side.