Clean up MMC1 implementation. Still some bugs.