Added option to toggle between fullscreen and windowed mode.