MainActivity ui update, change to ensure it runs on the main thread,
allows for safe updating of the ui from secondary thread
Merge pull request #718 from garvankeeley/update-on-main-thread

MainActivity ui update: change to ensure it runs on the main thread
Merge remote-tracking branch 'upstream/master'