bugfix: tree icon toggling in 'environment' view
cleanup