FIX signed/unsigned compiler warnings and cosmetics