removed uneeded call to cout.flush() when writing to QTextStream and updated readme