[Dup] Errors keep popping up [Attempt to index 'entity'] & UI freezes every few seconds

So while I’m playing errors keep popping up saying "attempt to index local ‘entity’ (a nil value), here is a screenie:
http://postimg.org/image/y2ittp9eb/
Is there a way to disable the error console? I don’t really see any effects of this error in the game, and it just pops up every few seconds.

One more thing, the UI and the hearthlings freeze every few seconds but I can still scroll and move the camera around, and I noticed that every time it freezes the “lua” thing in the left bottom corner spikes to more than 80%.
Anyone else having these?

I moved 5 posts to an existing topic: [Con] [A9 r256] Game hitching every few seconds