- added code to toggle between full screen and "basic window" mode