Complex spaces: Complements of curves in twodimensional spaces and degeneration sets for families of curves