San Francisco Frontiers - Stocks mostly rise, dollar dips before US midterms