Correct error handling for IO errors.
More informative error message when a structure is empty.
Some fixes to data generation scripts.
Merge branch 'structalign' of ssh://github.com/statalign/statalign into structalign