Fix clearing of local map markers

destroyWidget changes the child count, so the for loop is flawed.
Fix a crash when exiting OpenMW while the mouse cursor is over a local map marker
Fix crash when exiting OpenMW while dialogue/journal is opened and mouse cursor on a topic

(Fixes #1300)