frame 2D buffer implemented, removed the (wrong) direction window