made networking all in separate threads

made handler so map updates can be called on UI thread from timer thread