Connection retries, message box fixes