Remove obsolete door terrain features, make sure locks don't outlive doors