Fixed some stuff, the main problem is still there though so I'm omitting the library until it's fixed