Fix #1 (weird displaying of chunks)
Add more debugging features