Remove incorrect condition in move_ob().
Do not force map's enter x/y when using an exit to enter the map.
Fix memory leaks.