Change encode to UTF-8 for window title. For properly store national symbols

Change encode to UTF-8 for window title. For properly store national symbols.
Tested on Ubuntu 14.04 with cyrillic symbols.