Fix several issues in the IonMonkey JIT compiler
Bug 1007940 - Improve the performance of editor initialization.
Improve WebGL error handling for some situations.