Errors no longer being logged in the console. Fixes #5.