added slice index and nice txt output
Merge remote-tracking branch 'origin/master'