finished up some last minute changes to allow saving and properly change Pages when necessary.