Fixed stencil_8
Changed all internal uses of thread_priority_critical to thread_priority_boost to avoid that critical priority will be inherited by spawned threads