04:05
@Jon: maps X -> B^2 G classify principal BG-bundles
more generally, if you think of maps X -> BG as classifying fiber bundles with fiber F and structure group G, where G acts on F, then you can think of maps X -> B^2 G as classifying fiber bundles with fiber F and structure group BG
one way of saying what it means to have structure group BG is that F is an object in an infinity-category such that G acts on the identity automorphism of F
(so G acts as a "higher automorphism" of F)
for example, the automorphism infinity-group of Vect turns out, in a suitable sense, to be B C^{\times} (every autoequivalence Vect -> Vect of Vect as a Vect-enriched category is isomorphic to the identity, and the automorphism group of the identity functor F -> F is C^{\times}, and then we want to equip this with its natural topology), from which it follows that maps X -> B^2 C^{\times} classify Vect-bundles over X (bundles of categories isomorphic to Vect)
given a Vect-bundle over X you can now ask for sections of this bundle, which are vector bundles twisted by the map X -> B^2 C^{\times}. Giving C^{\times} its usual topology the set of homotopy classes of such maps is H^3(X, Z), and we recover the fact that complex K-theory can be twisted by classes in H^3(X, Z)
(another way to say this is that I'm thinking of Vect as a Vect-module; bundles of categories isomorphic to Vect is a model of "2-line bundles" or "line gerbes" or something)