Connect warning

Added connection warnings and alerts when sending messages while disconnected.