added shutdownMode, also automatically shutdown if no kinect2 plugged in