Fix for issue #8

This commit fixes issue #8 (for me anyway).

The issue arises if there are unicode characters in the item properties in gui.py.