improved thread safety of Server
remove starting bug (hang on vision component creation)