Fixed up some stuff; I believe it's time to start testing this. I'll re-implement GameBoy emulation later.