cleaned up the code some more

pointers are just laziness. Starting to wonder about memory leaks though. I think I'll have to start clearing the pointers I use or something. Not exactly sure how that works just yet