Removed debug code.
Merge pull request #1106 from Xwaffle1/master

Removed debug code.