Fixed error reporting during Analyze (fixes #340).
Increased default project history length to 20.