Make the popup window more compact by reducing margins and spacing to 3px.

There is no point in having huge margins (9px) at every side of the
scan popup window. Especially since the popup window is supposed
to be small and compact.