extracted chat message handling to own class and thread, better message time handling
resending undelivered messages, fixed autoscroll if time row is added
focus to item editor in chat widget