Made WindowInfo Serializable instead of using DataContract.

This was needed since it needed to be serialized through named pipes.