Added preliminary implementation of the General Extension Protocol. Fixed some bugs with player initialization on map changes.