Moved Error handling away from rc.lua.theme files