chinook: AHK stack (nested func call) fix

Changed looping structure to use 'Gosub' calls instead of nested func
calls after running into an apparent stack limit (was a PIA because
there was no feedback about what was happening, the thing would just
exit)