use QCoreApplication when in background mode to allow the app to be run without x11
Merge branch 'workshop' of github.com:MrKepzie/Natron into workshop