HUGE fixes to the events query

- Performs up to 4 times faster than before
- Can scale past the few events it currently looks for
- Does not consider duds (no when in event def)
- Also fixed annoying "server ready" prompt