Added functions to get and set the width and height at the same time.
more initial setup