Replaced Gif-Disabling with low-tech version for better performance