Fix max locals and stack in tinyclasses, and OBO bug in InvokeVirtual