(libraryView) Clear selection when sorting
(gui) Many improvements on layouts, margins, etc.