fix imports; fix sobel; clean-up