ofxsGenerator: fix warnings + bug in getClipPreferences