cleaned up main and main window

we're going to create two executables for CLI and GUI and a shared
library.
fixed wrong column number to toggle visibility of molecules