Complex sentence: Often the code needed to get from an X window to a DPS context was much more complicated than the entire rest of the DPS interface, this greatly limited the popularity of DPS when any alternative was available.
Split into simpler sentences: Often the code needed to get from an X window to a DPS context was much more complicated than the entire rest of the DPS interface. This greatly limited the popularity of DPS when any alternative was available.