Audio code merged along with text code

Audio code merged along with text code, few bugs removed, separate text and audio threads created.
log in different files for different sessions also updated.