close callback updated
flip, grayscale, fill added to main window