Fix crash

Didn't sit down and take the time to understand the various file- and data-structures. I did however get a problem where telegram would crash on each startup. Whether it was a garbled file that caused it  or something else, I do not know. But I managed to get around the problem using the patch to structures.c.
I have tried numerous times to reproduce the crash, but I have not been able to...