SegLoader now breaks the while loop when 'selecting' a file