Minor compile fixes, remove debug prints.