Work on implementing pixel buffer, sample pixel buffer changing code.