Added threading support and played around with OKC quickmatch