Updated worldmap so that the update_grid method will run periodically in its own thread.