syntax fix in _isAutomode: "bitwise OR" -> "logical OR" (Lothar)