add mask system for popups, improvement of the messages system & fix bug pointer down on mobile device in map generator