I think the problem I'm having is reading the program from left to right, top to bottom, the instructions are grouped into blocks of events happening, and not in the order of execution, and instructions required to make this happen.
It's confusing this way. How do I keep organized when something at the bottom of the page may be triggering an event at the top ?