Big refactoring: added quick panel, moved state to Worker, test refactoring, updating TODO