Revert "MainForm"

This reverts commit b636dbe3893e2b2b9330fbbfed2074bcb46bfb2f.