Updated MainWindow

Successfully switches from image to image