Change variable names to make mroe sense. Partially deal with aspect ratios. Fix weird UV coordinates.