Working bugs in translated UI.
Begin refactoring log functions
Change read_log().
Fix logging functions to work with utf-8 encoded text.