Implement map sending over network and fix assorted bugs