Fix warnings in Firefox
Improve warnings for class load failures