Correct some flaws, add alarm (cron) messaging features