got map distribution working with master server in thread