You could delete your map object and make a new one with the file.
mapobject = 0;
mapobject = new maptype(filename);
That will flush out everything and let you start fresh.
I tried all three and a lot of other things.
When I write delete mve it says expression must have pointer or handle type. I tested this and outside of the game loop you can delete mve just fine.
I am trying to clear mve on lines 242 and 245.
Here is main.cpp http://pastebin.com/ijniABZi
Here is main.h http://pastebin.com/C8czy6a5
Here is maps.h http://pastebin.com/LscF4HPj