Tightend up styles and simplified model operations in resizetool.