misc: use compact foreach instead of self-brewed for loops
ui: enable clear button for search input line
ui: remove frames for table input fields