Eh, a making a tool is proving to be more trouble than it's worth.
A search for this bug has every time been closed as a problem with a third party addon:
These two topics found solutions:
Just remove the plugins in
%appdata%\Construct2\plugins
like zenox98 suggests to see if one of those plugins were causing it. If that doesn't work, also remove the third party plugins/behaviors from you C2 install folder. You can always re-install the plugins afterwards and hopefully the authors have fixed it, if not request a fix in their topics.
Also now that I think about it changing the id's in edittime.js yourself isn't ideal because it will break projects that use that plugin.