Diffuse Gas And Diffuse Galaxies – Investigations Into The State Of Molecular Gas In High-Z Galaxies And The Origin Of Ultra-Diffuse Galaxies