fixed templates and added in ability to switch off FXAA if wanted