fixed auto dimension
Optimized formtag
several intermediate changes