Add DEBUG_MODE
Use correct array sizes for string (and take care of minus sign)
Cleanup white space