Patches for check_vsz: various functionality fixes [sf#652086] [#51]