Fixed some stray bare pointers.
Getting rid of the c-style bool cast.