Added trim() to filter away parameters with only empty space(s).
Changed width and height to be unset from options also if they are empty strings.
Added test_no_empty_options() to test empty parameters and zero values. Fixed some typos.