Timing and thread locking problems...