Alerts fixed

Wacky conditionals still need to be reviewed; all alerts are printed to
console