Added support for Optifine, closes #2