Update license header, change TARGET_DEBUG to DEBUG_MODE
Add bin usage
Fix dec2bin output string length
Use new header matching method, add debug functions