Included method for maintaining external window reference