hconsole,hdata: Refactor widgets contructor interface.