Add state save
Implement state restoration
Fix zslice response to vert scaling