use None instead of False to indicate colors inherit bold value
remove codes found by trial and error, i reckon the new ones are correct
when we reach the end of a sequence, reinterpret the current char