move "current page" into the UI side, remove corresponding code and
interfaces from Document
move scale factor from doc t window, fix bugs in printing