The archetypal frontier town – a promising place for both immigrants and ne’er-do-wells.