Improvements
- CPU/RAM usage during runtime reduced.
- Time to load reduced.
- I/O ops during initial setup greatly reduced.
- File size of the script slightly reduced.
All while retaining the same functionality and error handling.
All while retaining the same functionality and error handling.