Clear out!
Add tablet open.
Add event encoding/decoding.