Creating StatisticsFrame and OptionsFrame.