removed dead code from debug views, and fixed variable view update problems'