Another way to recover gold you need to spend to work around bugs with skills is by hex editing.
File swapping duplicates the piles of gold you have, while hex editing maxes the amount of gold in each stack. Hex editing is more effective if you start with less that about 50k gold, but the more gold you have, the more effective file swapping becomes.
Hex editing - gold, experience, stat/skill points