Fix bugs in environment picker and grid view

Fixes the following problems:
- Selection checkboxes show in environments where objects can't be deleted
- Environment list doesn't update after attach() is called 
- Header and content of grid view don't line up precisely in Firefox
- Picking environments from the list during debugging can cause unexpected behavior