Trying to add a scaling feature for the windows to make it possible for
resizing of the window. Not even close to done