Make sure when you exit the miner to press "Q" to shut down the process first. You'll know its safe to exit the miner program when the two cards say "DEAD" beside them. If you don't you will cause your display driver to crash, resulting in the experience you described.