Clean up main window.
Add feature for activating/disactivating display of eos.
Read table.