the changes here may be controversial ; in the application::process() loop I found it necessary to selectively skip some tasks to avoid recursive attempts at connecting to server.
when gui-thread does something that requires server-connect the progress-dialog is shown while waiting for server to wake. displaying progress-dialog means calling application::process() and so further db or fileshare access must be avoided