Fixed CPU bug, rewrote most of the VDP