Update AutoHotkey layer, fix bugs, improve indentation

Updated AutoHotkey layer