Fixed alloc/free mismatch with tinystl::string.
Examples: Fixed resource leaks warnings.
Merge remote-tracking branch 'upstream/master'
Improved data structure for FaceBased algorithm + refactoring.