[add] refactored thread scheduler, empty flag for anterooms added