added option to generate an infinite amount of lines

achived by passing -1 after -l/--lines
changed activity max a little