Hello, it seems i've run into some problems using an API that uses global variables. To make things easier to implement I encapsulated all the code I needed into a class and then in a different...