Yet another multithread bugfix, addserver now works.