commented ofSetVerticalSync(false) as it was causing some problems on some Linux implementations