minor tidying of peermap
improved Z-order in peermap