codeview: bugfix: InitCodeView onload timing, added DEBUGMODE & list