Finish implementing the window system