Ajout des commentaires + gestion des cas "null"

Signed-off-by: bakanoob <lordalceusix@gmail.com>