Display Logic Fixed for edit and delete

Also no longer recreates that DB fresh each time it's run