more logging and alerts, fixed send button trigger