Fixed debugPanel installation when `#debug` is defined
Moved debug draw operation to the debugPanel
Also move the two corresponding debug flag to the debug panel

2 more to kill !
Merge remote-tracking branch 'origin/master' into matrix-based-transform