river in scotland upon which newton stewart, dumfries and galloway stands