Fix Module.printErr()
Let's do peerinfo in js.

It's going to have to call back to the main window to access
localStorage.