Sounds like you or someone else has run it too low on coolant due to the leak and it probably has cooked your head gasket. Fixing the thermostate would have been allot cheaper than doing the headgasket

Lesson learned i hope, this is gonna a fair whack of money