fix label line number errors and add support for reporting all label errors rather than just one per text