adfa
Fixed some cache issues and modified how the structs were handled. Fixed some memory leaks as well.