master: Removed debug and fixed issue with public sharing.