imageToAscii is a CPU intensive operation and it would be much faster if is changed to use multi-threading