fixed a bug that caused IDA to access violate upon close if toolbag was still running