 - Improve background thread reconnect interaction with the interface; if the application is in a modal state, the background thread waits.  This improves interface behaviour on multiple SSH disconnections after sleep/wake (finishing Issue #798) and also disconnections while the interface is modally locked (eg editing text/blobs).
 - Improve background thread reconnect interaction with the interface; if the application is in a modal state, the background thread waits.  This improves interface behaviour on multiple SSH disconnections after sleep/wake (finishing Issue #798) and also disconnections while the interface is modally locked (eg editing text/blobs).


josegonzalez/sequelpro,treejames/sequelpro,eric-seekas/sequelpro,CoolSwitcher/sequelpro,kaneshin/sequelpro,leichunxin/sequelpro,leichunxin/sequelpro,dnl-jst/sequelpro,CoolSwitcher/sequelpro,treejames/sequelpro,Jellyfrog/sequelpro,eric-seekas/sequelpro,Jellyfrog/sequelpro,josegonzalez/sequelpro,eric-seekas/sequelpro,dnl-jst/sequelpro,treejames/sequelpro,josegonzalez/sequelpro,josegonzalez/sequelpro,chenbk85/sequelpro,eric-seekas/sequelpro,kaneshin/sequelpro,kaneshin/sequelpro,abhibeckert/sequelpro,chenbk85/sequelpro,CoolSwitcher/sequelpro,leichunxin/sequelpro,CoolSwitcher/sequelpro,abhibeckert/sequelpro,Jellyfrog/sequelpro,abhibeckert/sequelpro,dnl-jst/sequelpro,treejames/sequelpro,abhibeckert/sequelpro,Jellyfrog/sequelpro,chenbk85/sequelpro,leichunxin/sequelpro,kaneshin/sequelpro,chenbk85/sequelpro,dnl-jst/sequelpro