condensed interface code

combined extractChat and identifyChat into extractChat; added further
chat formatting