handle priority reasonably on linux

allows using -2 ... 2 parameters for priority. There is still the possibility to use named priorities which are unique to linux or mac, depending.