Resource and drawing are now dependent on a size and there is a vertical mode.