Remove locking in getStreamAtIndex()

Also removed some whitespace/old comments.