bug in debug.py fixed, nicer graphics