added error message globals, edited handling of no internet connection