Fixed bug affecting multipage pdf files. Fixed bug concerning multiline text fields