Performance

- Reverting forEach to for loops
- Speeding up base querying & HTML creation