schedular: bound priority to 0-7

closes #153