UnitMainBackend: Move ListProgramsOnDisc to this unit and clean it up a bit.