Updated EnhancedClass to use ASM to determine the correct order of fields instead of relying on Reflection that doesn't guarantee proper order.
Added safe LocalStack.pop.