Fixed all the compiler errors/warnings from this weeks code changes.