Misc APU cleanup. Misc NES_INPUT cleanup.