This is a short function that does basic title-capitals:
Some words aren't capitalized (the, of, ... etc).
The 1st word is always capitalized.
Characters such as (\ - ' .) prevent the next letter from being capitalized.
Without a selection it operates on the whole line.
Colon character capitalizes the following word, even if it would normally be skipped: e....