Fixed up some more stuff with tech nodes, added locks when the scrap messages come up.