Refactored VRAM-DMA
Fixed VRAM-DMA issues
Fixed coding style