Fixed GUI so that serial works in Windows and reads the first port in Linux.(That still needs to be fixed)