Minor optimisations and fixes

- Improved key generation for smartload instances
- Fixed unscoped variables
- Changed throttle default value to 100ms
- Minor optimisations and whitespace cleanup