Preserve UTF-8, compile on Qt5

Closes #5
Closes #7