serialports do not work while in gui file, reason unknown.