Updated version 1

Corrected some mistakes in the MainFrame.
This version prepared for testing by Gleb (Top Manger of Fabrika courses