fixing the learn spell twice problem, made itemuse actions threadsafe, because now they share some state