added ability to flip image to grey. Also added sobel. Code is still super messy but the UI layout is falling apart too. Going to have to spend time changing both