Made progress with reading/writing events.
Added update to resize/move.