hconsole,hdata: Refactored loading TUI app from XML resource file.