Change tabs to spaces and move constructor getting lua_state to the right place.