cleaned up sprintfs with a sprinkling of consts