Settings model is now more flexible. Replaced various buttons and fields
with one textbox. Added contours to the image processing.