Fixes the listener removal functions.
Adds a very basic UI for the database