Fully working now, image flips are fixed.