Changed QMap to QList in the tab content manager so that the relationship will not be broken. Added some comments to mainwindow.cpp and some minor changes/comments to TECM class