Fixed potential logical issues
Cleanup use statements
Allow environment variables to be accessed via `getenv()` function.

Signed-off-by: crynobone <crynobone@gmail.com>
Overwrite bound() method in Application.
Merge pull request #3496 from crynobone/feature/putenv

Allow environment variables to be accessed via `getenv()` function.
Merge pull request #3500 from franzliedke/patch-1

Overwrite bound() method in Application.
Merge pull request #3495 from GrahamCampbell/minor-fixes

Minor Fixes
Revert bound change.