small bug in number of items to print, added more escape sequence info