Setup buffer strategy for accelerated page flipping, defined a window
rendering loop, and changed background color of the canvas to black