Merge pull request #902 from FranciscoBorges/smallFixes

Clebert's last commit would not restore page cleaning if replication was aborted
Large message replication sync