Added GUI elements to delete and send queries