Sweeping code update

Use in-class initializers where it makes sense; use find and count
instead of exceptions to test map keys; remove shader program object;
create and set window delegate in CMacOSXCocoaWindow; use wide-character
APIs in CWindowsWinsockStreamSocket.