Fixed issues with Valgrind. No more unitialized variables, no more leaks, no more bad writes. Everything is dandy.