Moved text/paragraph positioning functionality towards the API classes. Added page margins. Both of these are still a work in progress. #1 #3 #4 #5