fixed removetag exception, split directive
fix the removetag to cleanup dupe tags
removed log statements
cleanup
fixed the autocomplete to be more forgiving.

Now it is easier on spaces vs non-spaces