Refactor sync
- variable size flags field
- small unification of synced objects
- synced objects can now be RPC targets
- random stuff for GUI reimplementation
- random bit utils