small indentation, space, formatting fixes (no code changes)

Sorry, but I found some ugly things style-wise after merging the thread/shutdown pull ;).