Removed some debugging functions

Whoops, left some debugging stuff in there. Removed.