The city of Bodie eventually turned into a ghost town that is now managed by the state of California and is one of the best preserved ghost towns in the American West.
"Camptown Races" was published in 1850; "Beautiful Dreamer" was published in 1862; "Oh! Susanna" was published in 1848.
Lil's cigarette is not lighted. Also, it looks like a manufactured cigarette, rather than a rolled cigarette which was common in 1871. The first cigarette rolling machine was patented in 1847; a more efficient machine was patented in the 1880s.
This episode starts in November 1871, but the bulk of it takes place in 1877.