Fixed bug where maim would ignore the environment variable DISPLAY.