They call me Slim Shady. Fixed bugs and cleaned some code. Implemented images as global varibles. Pending resolution when there is no contour