Set Table position in the MainWindow.
Remove TODOs.
Merge pull request #9 from Dgzt/refactor

Refactor