improvements of debug widget