If 3dnes is already launched it could quit it instead?
ctrl+f i know about that one, but we need command line options too.
--fullscreen and --windowed perhaps?