Corrected minor bugs in Gapstripper class