I bet you've taken Sloth. I think QM's nailed why this has happened with this balance mod; it's likely that you are shown more resources than you actually have, so you aren't getting "cheated". The only problem is when you set aside gold that isn't used for the turn. I have Sloth in one of my games and the bug happens every turn.
Sorry about your lab, can't help you there