Begin porting PlayerPRO 6's PPDocument class.
Some minor fixes.