fixed memory leak if length(e.Name) was 0, added anchoring and form resize code