Reorder initialization in richclient

The manager was not available at the right time, so the settings dialog didn't work.