Implemented glassDistance
Fixed most of distance check

When turning off glass core distance is turned off as well, but turning it back on doesn't work as of now. Needs fixing in glassBoot.sqf and glassCore.sqf