1. Had to comment out the buffer check until I figure out how to handle
situations where there is something on the page (like an image), which
seems to not be picked up by the getInternalBuffer() method.
2. Added left page check to determine whether there is a real page in
the source PDF to get