Updated mdapt to Sp00kyFox's latest sources.