Adapted the map editor to latest changes.

The map editor now deals only with pure map data.

It doesn't deal with script anymore and I also removed warnings,
unused members and the texture view, useless when not playing.