Cancellation Feature. Cleaned up Auto-Detect

Cleaned up the code in the auto detect method. Removed the old, nasty
way of parsing through XML and used .SelectNodes() only. Added in cancel
button so user can cancel auto-detection and clearing all tags. Added
completion percentage for auto-detect in the label.