This MR makes the db rebuild process completely async. There'll be no delay anymore at startup.
It also adds a new menu entry for triggering a refresh manually.