Cleaning up some code for release

Includes lingering console.log