lochist.el: loc ation indexing was off by one (is zero origin) and we were testing out of bounds after access.
track-mode.el: remove undefined function warnings. Don't go in to comint-mode if we are already in comint mode.