Skip frame increments if FrameTicks is over 1000 seconds per frame, probably indicating static at that point.
#include <QtGui/QApplication>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}