Updated for newer AutoHotkey versions.