fix plot legend, adjust position, increase plot size on large screen, fix layouts