schedular: bound priority to 0-7

closes #153

did you want a test for this? it fixes my issue locally, but i'm not sure if it's complicated enough for a test.