Improvements for SnappingAgent and FeatureGrid plugins. Close #440, Close #441.