fixing some bugs
add analysisDone signal in dock.py