More work on network interface; bug fixes