Rewrite raw memcard threading code. Intended to fix issue 7484.

It's just British vs American English, both are correct.

Signalled: british
Signaled: american