various improvements, including a protection against blocking in SS_Log::OpenWindow