Removed lots of redundant "== false", "== nullptr", etc