When checking https://github.com/matrix-org/matrix-js-sdk/pull/1817, and then looking at https://github.com/matrix-org/matrix-js-sdk/issues/983, i decided to take it upon myself to add a little bit more null-safety to the library. When i added `strictNullChecks` to the config, 1147 errors popped up, most of these cascading from other errors.