Fix invalid memory access and wrong # parsing
Merge pull request #9 from dsandin/Kobo_WinPhone8

Fix invalid memory access and wrong # parsing