Stocks End With Mixed Results; Ubiquiti, Sungy Surge