Text this: Disorder and defects in functional molecular frameworks