Fix text packer to respect used bits of last character
Minor optimizations
Merge pull request #18 from sebastian-software/fix/textpacker

Fix text packer