- Better formatting for results on log.
- Replaced .getGlobal() call for logging.
- Added filtering based on requested variables.