Smal fixes + new functions
* various small fixes
* added function for cleaning unused old network interfaces