Fixing one of the infinite looping issues in the browser.

Native methods weren't appropriately registering with the JVM.

But now there's another one I need to track down...