Added an Imager::log_entry() function and some extra logging