Revert "MainFrm"

This reverts commit 0187cbaf592dd2940beadade298566f5f0626ad3.