more work on gui; delete, etc