linepopup can now display line objects as well as strings