Holy cow. It all works. I'm sure I'll find more bugs later.

Next, I'll be importing the standard Type library code from MR's library.

After that, putting MARDS into the MR project.