Made debug more readable and relocated to bottom of page.