Titling code updated to work better with character limit.