Fixes debug logging always being on. App now accurately reflects the state of the --debug flag.
Initial release.