small enhancemants to GUI, and Attr control