Back out 12847:1aba77b2e4ac This both does NOT fix the seed mismatch with shoppa map preview *AND* breaks otherwise identical scripts with different file encodings due to multiple lua calls.
#include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}