Refactor + Render Logic

added in the functionality to compute a current frame based on scale
factors and what was drawn from the PixelTable