Functioning debug flag and more descriptive pull request message. Solves issue #4