Pretty big last-minute change.

I realized I could easily implement a stack to fulfill one of the technical requirements that we weren't meeting.

Implementing the stack also had the added benefit of removing a lot of UI-related code from the database. Thus keeping in line with the concept n-tier architecture.