So, I am also having the problem mentioned before in which when I spend money, the gold will go back down to 5, no matter how much I have or how much I spend, it always hangs at 5 but only after using the trainer option to increase gold.
Once I have used the option on a saved game (I have started a new game, and cleared the locations mentioned before as well) it will always default back to five even if I don't use the trainer to increase the gold.
It also seems to affect the materials as well, when they are used, that particular resource will completely disappear even if the upgrade wouldn't use that much.
All other options for the trainer work as intended.
Edit: I figured out the reason. The error only occurs when you are using the "Unlimited Item Usage" option as well. With that option disabled, the gold and materials go back to spending normally.
[Edited by SpaceMonkey, 2/16/2018 8:50:33 PM]
Woop, thank you for sharing this.