Fix crash on input.
Fix crash on gui process.
Implement hooking child process's console handle.
Change single ConsoleHost to be used by multiple processes.

- Remove ConsoleHostConnection from member of ConsoleHost.
- Remove ActiveHost concept.
- Add UserData to ConsoleHostConnection to determine origin process.