Fix bug - Send mail at $modx->logEvent()
New design of installer like Revo