Fixing some threading problems