First working version of the frmMain.py