Numbers of the iconic bird in southern Scotland are at record levels despite some setbacks along the way.