@Ian *******
, If you apply for an extension before your travel, yes you can leave and back to Thailand within the new date on a new stamp which would be an "under-consideration". You can be back in Thailand before or after 14 Jan, but definitely before the new date around the early-middle of February.
As you apply for an extension based on marriage to a Thai, make sure you let the immigration officer you will be out of Thailand BEFORE you apply for an extension, to set an under-consideration date and interview schedule in case CM does those.