Added documentation to the TransformImage class. Fixed the flickering issue when resizing the JFrame!