Cleaned up some dead code.  Clipping rotation almost working, but still having issues with jagged lines on transformed images and shapes.