Switched compilers from gcc to clang (using a hard path right now); fixed a few bugs this revealed