Rearrange PMEM/HYBRID code.
This lines Vigor up more with SultanXDA's code for Pyramid.