Merge "ui: Use std::thread to create input/progress threads." am: b8634ca793 am: 4fcc200272
am: 1b55de658e

Change-Id: I0b1e968d2aeb999a46e571ac3e09be5a84586231