CommandBypass + commPortDetection + refactoring + bugfixes