Added preferences to load and store the frame settings (ie. width,
height etc)