Added love.threaderror callback to main.lua