Fix constness and by-reference small issues, avoid reloading FriendList when no DB migration from legacy DB is done.