Fixed few memory leaks for AutoHotkey.dll