If the answer to your questions is short, I'll do it in the comments here, otherwise, I'll write a blog post about it.
But please try to generalize the question you have because I can't dive into each one's code and figure out how to fix it (this will require too much time).
I'll try to answer as many questions as I can.
I hope I can help you all guys :)