Updated peer to use "request queue". Various other fixes.