#1 added document window controller infrastructure