Fixed bug - image references were not being updated when an image was copied.
General code cleanup, implemented setting page font, changed function signatures in image_util