Implemented add mode functional test; added overwrite protection; removed some bugs from tar and untar.