I get around the priority issue by writing a launcher program in C. 60 lines in all. It can launch any program you name in high priority and you can use it in scripts. I find that more useful than having priority switch in every program that might use it.