Improved environment variables detection algorithm.

Also removed the constraint added in issue #33 because it caused the sidebar cells to move on the screen when selected (Maybe is a bug in Xcode).