Add a command queue implementation and use this to accelerate frame
rendering.