Ignore .pro.user* files
Bug fix
Bug fix in segment2point distance