Core rewrite: VirtualMachine: Cherry picking the few things to keep.
Core rewrite: The switchover and purge of old code.