Preliminary rearrangements and markings
Thread access checking
Stub websocket server-rendering