bugfix threading syntax.
bugfixes, tested search behaviour.