Documentation added, minor fix to vi interface