C NES Emulator with a Cocoa GUI