Added vertical resizing and setHeight prototype function. A few other tweaks too.