set default backend to a non-X backend and switch X on if no output-file is given (fixes #312)