It sounds like worms to me. I don't know what else they would be. Maybe in doing the liver flush, the worms were pushed out? I don't know. Whatever it was that came out, it sounds like it didn't need to be there in the first place so that's good. I hope you headaches go away soon! Good luck.