Re-worked the alert system by using session and helper methods instead of flash.
Refactored a bunch of code so that its simplier and easier to understand. Going to debug later.