fix crash under UNIX-like OS when checking updates automatically; i.e. use thread-safe way to perform GUI behavior