[PATCH v3 4/6] server: Move window id / menu to the shared memory.