Non-ambient XRD: Overcoming common problems and pitfalls