Backgroundworker now thread, more separation of code