Fixed current page number.
Insignificant changes. Discovered that not attempting to set the windows title before setting the document view's document seems to make it display nothing.
Fixed the error with the document not being initialized. It was because I was initializing items in the window before it had been initialized.
Fixed a faulty bounds check for go to.
Added zoom functionality.
Implemented display mode functionality.