Move peer db operation from GuiImageManager to Comment.