Added comments to main, mainwindow and tablecontentmanager files