added (basic) ignore and friend support; added named argument parsing; fixed some bugs with reconnecting