Viewer: Refactor the bookmarks manager to make it a little prettier