setCaption, setWidth and setHeight methods added and tested. also setDimension methods uses last 2. (PD: not sure if this is the desired functionality)