Added HistoryReader for providing error context;  clarified messages in panic() calls.