Just a quick update:
It seems that the reason for this is building things.
For some odd reason the lua just goes crazy when building stuff. Try and put your hearthlings to Town Defence mode and it should stop, and come back as soon as they start building again.
Here’s another thread about this:
So devs; please try and focus on this for the next update, it really makes the game unplayable while it happens.