Make it so that your graphics card controls the graphics parameters, that will prevent resolution, frequency etc etc changing when you switch windows.