Tweaked the db and undo redo class, also beefed up the DatabaseUI class