Extensive revisons to the code. Now two windows open, one with the
greyscale image, one with the canny edge detection image.