Some slight alterations to gen_quadexts to feature more error-handling and a fixed get_disc_partitions