Made a custom buffer, so that no blitting takes part in the video memory except from the final copy to videomemory. The last one is needed if we want the image to actually show up on screen