Added command line interface to lite client. Fixed 100% cpu in net when not connected