Fixed segmentation fault when reading AFL. Added comments.