connection state listener support + tweaks in ui example
handle ConnectionException