Fixed some coroutine issues. Added return values to LuaThread.resume