This would be so much easier if there were documentation... Seeing as how the names of things in the C code are not working...