More work on creating an embedded window