Fixing a classloader bug, making some invoke instructions faster.

Currently passes all tests!