Improvements and fixes

This branch includes fixes for:
- flow control
- ledbat calculation
- debug info
- rtt and owd calculation
Improvements:
- metadir
- fixed multifile
- cmd interface