String formatting utility & compiler warnings fixed