Removing tons of clang compiler warnings, fixed a bug