Cleaned up several function in the fiducial registration wizard node.