add row button in element list
fixed deletion context menu not closing
fixed detection of statevar type
added element list margins