stupid memory leak. Todo: refactor. After enumeration, the backing memorystreams are being collected at a non-determinate event by the garbage collector, causing trouble for consumers of the newly transformed bitmap objects.