Fix crash when reveiving invalid CMD_REQ_FILE
Proctect the map's tile value

It may happens that map's tile value are corrupted if we receive a map file via the networj thread. So we copy the value we have and get protected with a mutex.
Avoid smooth animation of player's sprite on map change.