my shot at a clean, simple NES emulator