- added delete buttons
- modified some texts
- added sorted hierarchies
- added error handling