wip: fix open file leak
fix: removed duplicate getAxisLengths/AxisTypes
wip: fix adapter memory leak/weak ref loss