Made formatting consistent and fixed !=

Fixed '!== true' rather than '!= true'.
Made all If (x) { y; } consistent.