Added comments.
Fixed null pointer exception for trainings without rating and certificate.
Fixed null pointer exception for training without skill.
Added and corrected messages.