Make superloop in main

Signed-off-by: Philip Luyckx <philip.luyckx@gmail.com>
Bug fix: keep alive when dl or up is over threshold

Signed-off-by: Philip Luyckx <philip.luyckx@gmail.com>
Merge branch 'alpha'