protected void updateAnnotation(boolean immediate)
{
+ // TODO: make calls thread-safe, so if another thread calls this method, it will either return or wait until one calculation is finished.
if (immediate
|| (!updatingConsensus && consensus != null && hconsensus != null))
{