Geometric topology of generalized 3-manifolds