modified the command interface to handle a muliple lists of variables (so we can chart variables on multiple axes) and some other clean up