To set the foreground priority, you should use a program like Task Manager to open up Resource Monitor. You can then change the processs power setting from real-time priority to normal/high.