This commit fixes the removal of the `~' character (it needed to be escaped), add commas and backslashes to the list of characters to be removed, and updates some `CUSTOM_ID' heading properties accordingly