Diagnostics

Its about time I actually get diagnostics put into master.
Im making it a constant for now, but i think it should be a parameter, just not sure how to specify that safely