Thoreau may not have been in politics, but he did his homework and acted on it