Added isCapsLockOn function (Windows)