Implement simple layer resize in gui
Repair endFrame for layers