refactored MainFrame, updated SearchTopic