Merge patch by Felipe Gasper which adds support for BMPString (with line reordering).
Closes #3 on GitHub.