Console error fixes

Leaves only the deprecated warnings in the console.