Fixed compile and linker errors

Programs now compile and run.  I'm still looking for good .nes and .fm2 files for testing...