Cleanup and optimizations

Remave TSTATUS to S, simplify tests related to this array.
Remove list_stop() and port_stop(), switch to simple set_stop()
that destroys all sets.