O(1) handling of message fragments

For a test file that before resulted in ~10 MB/s for receiving the pixmap, this change now achieves ~412 MB/s. Thanks to @joelrbrandt for the spot-on analysis of the problem!