Limit lines in frontend; fixes #11