Just to chip in here as the question OP.
My actions were thought out, and intentions were sincere for the better choice for Stack and users.
I also understand your raising this Meta question. These things need to be discussed (i.e. no sour grapes...)
Raise a new question
I saw no need to raise a new question as the topic and basic premise of both new and previous question data are the same.
Raising a new question would likely have been a dupe, and I wouldn't have been well received from users seeing I previously asked the same thing (as I dislike when others do).
The fact I edited the entire text does not automatically mean I changed the question, topic, or scope.
In essence all I did was reword, which produced the same question.
An answer already exists
after receiving a valid answer
It is arguably not that valid (I only upvoted for the thanks for the info and an additional option I had not thought of).
The answer doesn't really take into consideration my concern (in my original question text) about injecting all data into the global space.
That said, I had no issue with the answer, I was grateful Ixrec provided new food for thought, and why I upvoted.
As the question is the same, the answer is still as valid a suggestion as it was prior to the edit.
Better question in the first place
You could argue why not make this "better question" in the first place.
I took 40 mins or so to write the original question, and thought it to be well written.
However, one cannot predict everything, and the feedback from 2 days with 44 views and no results, prompted me to believe, in addition to a bounty, my question could perhaps do with improvement as well.
On that concern, how does one define what size of edit is a legitimate edit, and what is too much?
I would have thought logically, and based on Stack's structure, if the edit does not change the scope of the question, then it is fine.
What should I have done?
I imagine that the question should be reverted through the rollback to its initial form, without being closed, flagged or downvoted.
What could I have done?
Had I created a new question, it would have been the same question asked in different words - and in Stack that is a dupe.
If my new text would have been a dupe, then they must be (arguably) "the same", and so the edit acceptable.
I could have just added the bounty, but that isn't ideal really, nor do I see any problem with me improving my question as it remained the same question, and avoided a dupe.
In summary, I believe I caused no issue.
However, I am sincerely ok if community (or mod) decides this should be reverted.
I'll be left stuck, however, as copying the new text to a new answer will be a dupe of my current one.