Bugfixes and add handler to change the visibility of a post.