I am programming a GUI with Face Detection. My problem is that when I want to switch back to the main GUI (after Face Detection started), the program crashes after the GUI i