More work on basic window creation

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>