made client process every available message

fixed some quote problems also