Fixed 7/31/14 index error in send_command(). Got rid of number-coded dialog messages, now just pass strings directly when calling dialog object. Truncated lines to keep width < 80 chars. Lots of misc other cleanup.