Specified minimum width, height
Fixed editing, removed unused code