Adding a (probably working) bswap.
Cleaning up line ending issues.