Fixed #55. Get rid of a few console.log/dir.