Made isPlainObject() supporting null, undefined, and window values on IE too. Also...