small fix (unicode conv issue)
specify return type for convertToUnicode (test for PyCharm)
use mlock to force no-swap-out on important memory

should partly fix #39