window controls refactored into windowing controller; panel update works