Hmm, threading issue raised its ugly head again