Added env.$check to eliminate a common bit of error handling code.
Merge branch 'master' of http://github.com/gmalysa/flux-link