Remove Distance from flake kick, reduce calls to Random() in flame replacing w/ checks on game tick and a little randomness.
#include <QtGui/QApplication>
#include "editor.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
editor w;
w.show();
return a.exec();
}