[fix #56] Leave correcly the Paper

Add the possibility to remove an window status change callback.

And remove window status change callback when an user leave the paper page.