Some optimization fixes. PSNR for three channels
Menu dialogs