you obviously can't apply in person any longer, only through the evisa system. Read through the requirements, meet them, and you will get the visa. From earlier posts I don't think you will meet the requirements for a 12 month extension though, so work on that as soon as you get back inside Thailand
Not sure why you bothered applying for a tourist visa, I suspect even if the consulate had issued one you would still have been refused entry. Applying for a Non-O visa based on having a Thai child is absolutely the right path for you. If you have all the right documentation then there is no reason for them to not issue the visa.