add localStorage support: enable to save/load last query, support space-mixed octet/number.