simplify variable declarations for handles

There isn't really a need to store these in a array since we're never
iterating over them.
v1.1

*   Adjust for script-breaking changes in AutoIt v3.2.12.0 (thanks to
    AutoIt Forums user "ptrex")