Compilation fix and little layout adjustment on MainForm.