Fixed missing init function for StatsTab in MainFrame, updated build