Started work on the DB query UI.