Cleaning up some console.logs and friends