Move "demo mode" outside opencv thread
Add interface for tracking
Now tracking available from separated classes
Move convert methods to another class
Add resizing frame for boosting speed
Fix segfault in buffer updating
Fix segfault when start tracking
Fix problem in pattern tracking