done some heavy lifting, plugin still unusable.