Refactor QThread-stuff and add first steps to get closing tabs to kill t...

...he station