How best to insert? We need to make sure enqueueSuccessors is called in stateToIdCallback, so we will have to bind our callback method within the exploration thread. Additionally, the method must exist within that exploration thread, so some code moving around will be necessary.