Cleans up isContinuous and other places to remove the debug output (printing to console).