Fixed small bug

UI text was being updated from a different thread without invoking, thus
crashing. Now fixed.