Made arrow keys default to left most and top most if there are multiple windows that might get selected.
Used linked list for each macro everywhere it makes sense.