Modernized Modern Debug Output

this replaces Pull #101 which was not pulled due to a merge conflict