(1) Adding missing error port in core instance. (2) Added dump of top state.