Handle messages so that GUI gets updated.
Improved handling of sequences.

Allows having multiple sequences in the same file and to have different
sequences for different size subjects in the same file.
Improvements to messages.

Not all protocols have been completed yet.