The new technology name is not valid, should

m_tech = 0
DISCONNECT_TECHNOLOGY_SIGNALS(m_tech)

etc be done here? Otherwise the technology model will still contain the previous technology data.