kc: format warnings/errors consistently
kc: use common functions for warnings
kc: nothing used $use_color