improve error checking/reporting and remove all console.logs
version bump