Adding a legend to the display and some printouts in the angle calc.