got the glMol molecule extractor working (seriously ugly code don't look at it)