FIX: rwEvent for better io handling

Needs some testing.