added delete button functionality
add to export by tag implemented
fixed null tag given when tag window is closed without value, changed that a reference is added in the referencelist only if it is not contained there allready