added threads - not working
removed bug from CalculationThread
removed bug from checking current result and possibleBestResult
further tweaks