added back print_services; flesh out client command handlers; code rearrangement
publishing functionality finished; updated UCI functions; misc fixes