Added assignments, set layout for resizing, fixed missing output bug