finished processFrameOutput and DrawFrame methods.