Bug 829820 - Ability to mark selected SMS thread as Read/Unread

The indentation of the for loop and everything below it is wrong, this should all be indented two spaces to the left. Also we should evaluate the performance impact of this when dealing with large threads. We might want to find a more effective query instead.