minor changes to support indexing
set ANSI/color config based on the terminal type.
added PyOrgMode to requirements prior to org-mode intervention