Update to customize popup resolution

Size of the popup is now independent from the base images size. The
popup size may now be configured using config.cfg