small refactoring

Signed-off-by: Nepetalactone <tobias.meusburger@gmx.net>
Merge branch 'Threading' of https://github.com/S1Lightcycle/Lightcycle_ObjectTracking into Threading