fixed many more memory leaks, stills some left, and now double frees show up ...