add bordered config option and clean up fullscreen behavior