Fixed bug: was null pointing on pdb files with a TER record positioned just before a HETATM record in the middle of a poly chain, now added more checks for duplicated PDB chain codes assignments which will catch that problem plus possibly others