LuaManager wasn't printing error on a doString call.
Renamed the lua casting function from cast to luacast. The name was clashing with another symbol.