What to do if the Editor is not responding to my repeated e-mails?
Giving someone 2 days to respond to an email, especially about a submission, is no where near long enough. I wouldn't expect a response that fast for virtually anything. 4 emails is definitely excessive.

For a journal, I would expect 2 weeks to be a reasonable amount of time on this. Generally, anything of this nature is not urgent. You can certainly go ahead and begin preparing to submit the paper elsewhere (e.g., find a journal, correct your paper's mistake, and reformat the paper), but don't submit it yet.