filename = globaldata->inputFileName;
ifstream in;
- openInputFile(filename, in);
+ m->openInputFile(filename, in);
string label;
int numBins = 0;
int count = -1;
while(in.good()) {
+
+ if (m->control_pressed) { in.close(); return 0; }
+
if(count > numBins)
count = 0;
if(count == 0) {