global: many reworks

added:
- max calls per submit
- max prints per submit
- rework of printing table
- repair of sorting