Clang warnings

warnings, and fixes (UInt < 0) disables some functionality, ... 
reported by clang. 

Work towards less polluted console output.