Fixed bug with escaping "3"
Tidy up db options
Remove security check from typing event
Remove typing timeout on message sent