redesign debug module / minor changes

- deleted modDebug
- BaseName made const
- better output for testChaining
- some refactoring