Changed ImportGaps to Sub

ImportGaps was a boolean function. Instead of returning a bool it will
now throw an error upon failure.