Modified the shutdown logic, including the :q! command, to force a shutdown with never versions of Qt.

Leo build: 20141013224418