Sublime Text 3 compatible

- Remove redundant line ending normalization.
- Style format cleanup.
- Remove *some* debug messages.
- Remove encode/decode calls.