The way to handle window events and render graphics in different threads was specified.