adding documentation and more reactor.callFromThread() commenting out (all in BasicPeer)
adding commented out old code for reference during refactoring