debugging version; bugfixes; tweaks

ceda bile and debug prints