Merge pull request #251 from topilski/master

Fix unicode problem
Merge pull request #257 from topilski/master

Several bugs fixed
Several std::string-related fixes and Settings Manager cleanup.
Fixed build according Dmitry Schetnikovich recommendations