Fixed deletion of property grids. Hopefully solves non uniform input problem when changing parameters.