Text this: Genus and the Lyusternik-Schnirelmann category of preimages