Adding frame buffering to client.