removed the global variable g_have_sport and now handles lack/presence of serial port by sensing whether the variable sport is None or not