@swedenedgar Please look at the library GitHub, sample, and sources. Then try to understand how it works. Then look into the working part of the code you working on (aka your code) and try to understand how it works. Then look to the not working part and try to understand why it doesn't work. All this you must do by yourself. Because it's your work.
Sorry, but all in this chat have their code to work on. And you got too many their time already.
We don't want to go further because your question is off topic for this chat.
Good luck.