Use locking within RemoveListener, AddListener. Should prevent IndexOutOfRangeException in TraceManager.AddListener and KeyNotFoundException in TraceManager.RemoveListener errors

git-svn-id: svn://svn.code.sf.net/p/autowikibrowser/code@9799 5227b50d-9349-4574-b055-4b0a7525e11c