Add some space & explicit returns.

This is mostly to help with readability.
Use `return` instead of `break` & check more often.

Instead of just breaking out of the current loop, we can really
break out of the main loop function any time we get an interrupt.
Additionally, we should check for break instructions before any long
operation--especially the synthesize button which can lead to a loss of
materials.
Refactor the action cooldowns into a function.

Instead of having an inline conditional that decides the correct
cooldown for the previous action, just have a little function that
calculates the cooldown for me. This is cleaner and makes the code more
readable.
Fix a bug.

AHK's sometimes-you-need-sigils system is **really** stupid.
Slightly increase cooldowns.