Diagnostics

Its about time I actually get diagnostics put into master.
awww go fmt changes all the things