Fixing example stencil_8
Fixing deadlocks during free_component.
Merge branch 'master' into improve_commandline_handling