Return value from msleep is not used, make it void.
Brief style cleanup.
Don't print colors if output is not a terminal