debug_console_js fix
tpl: will not throw warning if constant not defined
debug info up
main, cache: debug info more predicted, showing first 1000 bytes