History object works without word wrap or escape sequences
Working line-wrapping
Re-implemented escape sequences