Writing file name in file error

because that makes it easier to locate the problem
Adding state version check when opening state

because it should be checked before boot

Log

Writing OSD messages to logmanager too because that make the message (f.e. about state version)

* permanent (for future reference) rather than temporary
* visible to CLI mode if it occurs before window creation
Loading log settings for CLI

because that allow disabling logs for CLI
Making the GC and Wii input order deterministic

because that allow recording GC and Wii input simultaneously