Use tput instead of all those ugly control characters