Adding logger to preprocessor and adjusting logging test.
Adjusting the size calculation of the target image in case of an image merge.
Fix issue when replacing browses without identifier.