added utf-8 encode/decode functions, should fix #17
added error output in panel, fixed #16