Adds debug.
Adds additional debug
Adds write4 command and status code hash table.