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