misc updates

fixed onunload-saving bug when an item didnt had any previously saved addresses