added toggle for list to turn listchars on or off