Adding menu option to switch between the debugging and regular GUI because that's faster than manually closing and starting the program