Fix "ghost stacks" created when a player clicks an item on the ground:
since the object is not immediately removed, any other code may still
think an object is there, therefore leading to item duplication. This code
therefore sets the itemstring to '' after the object is picked up to avoid
such issues
Fix double sending of chat messages
Fix merge mistake when rebasing for PR #1169
Fix bug in RemoteClient::GetNextBlocks
Merge branch 'upstream'
Some extra profiling