revising futures contract lookup logic; adding a bunch of debug logic