Add SPLStopwatch, fix some bugs, and update demo app.