(Important!) Dialog text messed up when shown from inside a thread