Fixing bugs, improving MouseDoubleClick event (to edit a variable)