changes in main for testing purposes
changes done in attempt to bind QT4 to engine