Refresh : now sleep a dynamic amount of time depending on how long it took to refresh the map. This gives more meaning to "REFRESH_RATE" as objects are actually gonna be refreshed at this rate now.
Bumped REFRESH_RATE to 16.666 milliseconds, which mimics a 60fps game.