Updated alert system, rewrote dashboard.js, added discard