Faster patch loading & blitting.

Cuts loading times by about 10x in unoptimised mode and by 6x in release mode.