Geometric variational problems : regular and singular behavior