priority threads implemented and lightly tested
Merge branch 'master' of https://github.com/jeche/OPS