added check for if a specific shader model is supported
added v-sync enable/disable