hconsole: Add loading HWindow from XML resource.