Sane keys for both platforms.
Extract environment from interactive login shell, need to test more (e.g. bash).
Updated documentation.