Fix logging in runtimelog, missing exit status
	modified:   WndProc.cpp