proper save method and some comments to reduce complexity
more instinctive plugin UI