removed debug code and fixed a slight issue
Merge pull request #27 from nitrous24/master

Fixed a few issues with aoebgone