Collection of functions to catch problems and alert the user
