Corrected second while, added index incrementer
corrected respnose data maxstring size constant from 8 to 19 (18 chars +
string terminator)