fix bugs where the UI wasn't updating as the job connected and add a message if the popup window is blocked