Fix for capcodes without leading zero (+ tymon debug code)