Move branch_pcap_dic to a shelf.

Add optional memory stats (which may not work after the shelf move).

Sort the capture list before processing.