Many small bugfixes.
More work on rreq handling.