Redo code for MVC and MVW to use 'REP'. This enables x64 to run further, but it still ends abnormally.