Added code that so the debug info tab actually does something.