Don't resolve image promise until it's loaded.
Merge branch 'master' of https://github.com/mbebenita/j2me.js into jit-merge-mbx
Fix other image loading problem.
Reject image promise on error.
Remove logging.
Fix thread logging.
Some cleanup around how method tracing is logged.
Ensure frame gets pushed on vm pause.
Create typed array from array buffer.
Use correct array type.
Merge.
Merge.