APM fixes

calculate frame sizes for transformed classes correctly.
Metrics off by default